package cn.example.configure;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取配置文件自定义属性
 * Created by WuYB on 2017/5/24.
 */
@Component
@ConfigurationProperties(prefix = "customer")
public class CustomerPropertis {

    private String message = "test";

    private String uuid;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
